package entity;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class PlayerTest {
    public static void main(String[] args) {
        ApplicationContext applicationContext=new ClassPathXmlApplicationContext("Equip.xml");
        Equip lanMoRing=(Equip)applicationContext.getBean("lanMoRing");
        System.out.println(lanMoRing.getName()+"[速度增效:"+lanMoRing.getSpeedPlus()+";攻击增效:"+lanMoRing.getAttackPlus()+";防御增效:"+lanMoRing.getDefencePlus()+"]");
    }
}